<?php
/**
 *
 * 评论
 *
 */
require_once(dirname(__FILE__)."/../include/common.inc.php");
include_once(DEDEINC."/memberlogin.class.php");
$cfg_ml = new MemberLogin();
$aid = intval($aid);
$msg = $content;
$mid = $cfg_ml->M_ID;
$ip = GetIP();
$addtime = time();
if($msg!='')
{
    $dsql->ExecuteNoneQuery(" INSERT INTO `#@__pinglun`(aid,mid,ip,addtime,msg) VALUES ('$aid','$mid','$ip','$addtime','$msg'); ");
    $zhi ='ok';
	echo $zhi;
}else{
    $zhi ='no';
	echo $zhi;
    exit;
}

